﻿<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>4.标签提示</title>
	<meta charset="utf-8" />
    <script type="text/javascript" src="../Content/highlighter/scripts/shCore.js"></script>
    <script type="text/javascript" src="../Content/highlighter/scripts/shBrushCSharp.js"></script>
    <script type="text/javascript" src="../Content/highlighter/scripts/shBrushXml.js"></script>
    <link type="text/css" rel="stylesheet" href="../Content/highlighter/styles/shCoreDefault.css" />
    <script type="text/javascript">SyntaxHighlighter.all();</script>
</head>
<body>
        <h3>参数提示</h3>
        <p>在Action中定义了变量的注释</p>
        <pre class="brush:csharp;">
            /// <summary>
            /// 房产列表页
            /// </summary>
            /// <param name="quyu">区域&lt;/param>
            /// <param name="jiage">价格&lt;/param>
            /// <param name="fangxing">房型&lt;/param>
            /// <param name="leixing">类型&lt;/param>
            /// <param name="p">当前页数&lt;/param>
            /// <param name="s">搜索词&lt;/param>
            [GetHtmlZip("/List-{quyu}-{jiage}-{fangxing}-{leixing}-{p}.html")]
            public void List(int quyu,int jiage, int fangxing, int leixing, int p, string s=null)
            {
            }
        </pre>
        <p>
            运行WebCompiler.aspx,在对应的aspx模板中就会出现对应的中文提示
        </p>
        <img src="../Content/images/template/quyu.jpg" /><br />
        <img src="../Content/images/template/jiage.jpg" />
</body>
</html>
